//
//  HWDropdownMenu.h
//  01-黑马微博
//
//  Created by lanou3g on 15/9/7.
//  Copyright (c) 2015年 heima. All rights reserved.
//

#import <UIKit/UIKit.h>
@class HWDropdownMenu;
@protocol HWDropdownMenuDelegate <NSObject>
- (void)dropdownMenuDidShow:(HWDropdownMenu *)menu;
- (void)dropdownMenuDidDismiss:(HWDropdownMenu *)menu;

@end
@interface HWDropdownMenu : UIView

@property (nonatomic, strong) UIViewController *dropVc;
@property (nonatomic, weak) id<HWDropdownMenuDelegate>delegate;
/**
 *  子view
 */
@property (nonatomic, strong) UIView *childView;
+ (instancetype)menu;
/**
 *  显示
 */
- (void)showFrom:(UIView *)from;
/**
 *  销毁
 */
- (void)dismiss;

@end
